package com.flexpoker.client;

import java.util.List;

import com.flexpoker.domain.Player;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("player")
public interface PlayerService extends RemoteService {
	void createPlayer(Player player) throws IllegalArgumentException;
	Player getPlayerById(Long id) throws IllegalArgumentException;
	List<Player> getAllPlayers() throws IllegalArgumentException;
}
